package com.qf.dao;

import com.qf.pojo.po.XcOrderDetail;
import com.qf.pojo.resp.XcJqOrderResp;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author WYD
 * @date 2021/10/26  16:02
 */
@Mapper
public interface XcJqOrderDetailMapper {

    void insertOrderDetail(XcOrderDetail xcOrderDetail);

    List<XcJqOrderResp> findXcOrderById(@Param("id") Integer id);

    int deleteOrderDetail(String orderId);

    XcOrderDetail findXcByOrderId(@Param("orderId") String orderId);

    List<XcJqOrderResp> findXcOrderByIdAll(@Param("id") Integer id);
}
